package com.rm.zeyou.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 技师银行卡
 * </p>
 *
 * @author YanYang
 * @since 2025-03-12 15:55:09
 */
@Getter
@Setter
@TableName("t_technician_back")
@ApiModel(value = "TechnicianBack对象", description = "技师银行卡")
public class TechnicianBack implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("银行卡pk")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("技师表pk")
    @TableField("tid")
    private Long tid;

    @ApiModelProperty("银行卡名字")
    @TableField("back_name")
    private String backName;

    @ApiModelProperty("银行卡号")
    @TableField("back_idcard")
    private String backIdcard;

    @ApiModelProperty("所属分行")
    @TableField("back_branch")
    private String backBranch;

    @ApiModelProperty("持卡人姓名")
    @TableField("back_user_name")
    private String backUserName;

    @ApiModelProperty("银行卡logo")
    @TableField("back_logo")
    private String backLogo;

    @ApiModelProperty("银行卡颜色")
    @TableField("back_color")
    private String backColor;

    @ApiModelProperty("逻辑删除（0=未删除，1=已删除）")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty("创建时间")
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新时间")
      @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
